<div class="bd">
    <ul>
        <foreach name="data" item="vo">
            <!--杨浦 -->
            <if condition="$vo.visible_type==0">
                <li>
                    <div class="info">
                        <h3>{$vo.name}</h3>
                        <span class="text">
						<p><i>&#xe748;</i> <em>上课日期：{$vo.first_day}-{$vo.end_day}　{$vo.class_start_week}</em></p>
						<p><i>&#xe603;</i> <em>地点：{$vo.address}</em></p>
						<p><i>&#xe600;</i> <em>
                            <if condition="$vo.is_teacher_visible eq 1">
                                教师：{$vo.user_login}
                                <else/>
                                教师：高级教师待定
                            </if>

                        </em></p>
					</span>
                    </div>
                    <div class="other">
                        <span class="price">{$vo.total_price}</span>
                        <span class="class">
                        <a data-id="{$vo.id}" >
                            预览座位
                        </a>
                    </span>
                        <span class="btns" style="padding-right:0px;">
                        <if condition="$vo.start_lesson_time lt time() && $vo.current_num neq $vo.total_num ">
                                <a href="{:url('order/order/order_list',array('class_id'=>$vo.id,'cha_id'=>1))}" class="bm">插班</a>
                                 <if condition="$vo.is_listen eq 1">
                                     <a href="{:url('order/order/isListen',array('class_id'=>$vo.id,'is_listen'=>1,'student_status'=>7))}" class="bm">试听</a>
                                 </if>
                        <elseif  condition="($vo.current_num eq $vo.total_num) || ($vo.current_num gt $vo.total_num) ">
                          <a href="javascript:;" class="bm">满员</a>
                            <a href="{:url('order/order/pre_class',array('course_id'=>$course_id))}" class="bm">预选课</a>
                        </elseif>
                        <else/>
                            <if condition="$vo.signup_start gt time()">
                                    <a href="javascript:" class="bm" disabled data-msg="没有开始报名呢！！">
                                        报名{:date('m-d ',$vo.signup_start)}
                                    </a>
                                <else/>
                                <a href="{:url('order/order/order_list',array('class_id'=>$vo.id,'cha_id'=>0))}" class="bm">报名</a>
                            </if>
                        </if>
					</span>
                    </div>
                </li>
                <elseif condition="$vo.visible_type==1 && $pre_count gt 0">
                    <li>
                        <div class="info">
                            <h3>{$vo.name}</h3>
                            <span class="text">
						<p><i>&#xe748;</i> <em>上课日期：{$vo.first_day}-{$vo.end_day}　{$vo.class_start_week}</em></p>
						<p><i>&#xe603;</i> <em>地点：{$vo.address}</em></p>
						<p><i>&#xe600;</i> <em>
                            <if condition="$vo.is_teacher_visible eq 1">
                                教师：{$vo.user_login}
                                <else/>
                                教师：高级教师待定
                            </if>
                        </em></p>
					</span>
                        </div>
                        <div class="other">
                            <span class="price">2200</span>
                            <span class="class">
                        <a data-id="{$vo.id}" >
                            预览座位
                        </a>
                    </span>
                            <span class="btns" style="padding-right: 0;">
                        <if condition="$vo.start_lesson_time lt time() && $vo.current_num neq $vo.total_num ">
                            <a href="{:url('order/order/order_list',array('class_id'=>$vo.id,'cha_id'=>1))}" class="bm">插班</a>
                            <if condition="$vo.is_listen eq 1">
                                <a href="{:url('order/order/isListen',array('class_id'=>$vo.id,'is_listen'=>1,'student_status'=>7))}" class="bm">试听</a>
                            </if>
                            <elseif  condition="($vo.current_num eq $vo.total_num) || ($vo.current_num gt $vo.total_num) ">
                                <a href="javascript:;" class="bm">满员</a>
                                <a href="{:url('order/order/pre_class',array('course_id'=>$course_id))}" class="bm">预选课</a>
                            </elseif>
                            <else/>
                            <if condition="$vo.signup_start gt time()">
                                <a href="javascript:" class="bm" disabled data-msg="没有开始报名呢！！">
                                    报名{:date('m-d ',$vo.signup_start)}
                                </a>
                                <else/>
                                <a href="{:url('order/order/order_list',array('class_id'=>$vo.id,'cha_id'=>0))}" class="bm">报名</a>
                            </if>
                        </if>

					</span>
                        </div>
                    </li>
                </elseif>
                <elseif condition="$vo.visible_type==3 && $is_pre gt 0">
                    <li>
                        <div class="info">
                            <h3>{$vo.name}</h3>
                            <span class="text">
						<p><i>&#xe748;</i> <em>上课日期：{$vo.first_day}-{$vo.end_day}　{$vo.class_start_week}</em></p>
						<p><i>&#xe603;</i> <em>地点：{$vo.address}</em></p>
						<p><i>&#xe600;</i> <em>
                            <if condition="$vo.is_teacher_visible eq 1">
                                教师：{$vo.user_login}
                                <else/>
                                教师：高级教师待定
                            </if>

                        </em></p>
					</span>
                        </div>
                        <div class="other">
                            <span class="price">2200</span>
                            <span class="class">
                        <a data-id="{$vo.id}" >
                            预览座位
                        </a>
                    </span>
                            <span class="btns" style="padding-right:0px;">
                            <if condition="$vo.start_lesson_time lt time() && $vo.current_num neq $vo.total_num">
                            <a href="{:url('order/order/order_list',array('class_id'=>$vo.id,'cha_id'=>1,'student_status'=>6))}" class="bm">插班</a>
                            <elseif  condition="$vo.current_num eq $vo.total_num || $vo.current_num gt $vo.total_num">
                                <a href="javascript:;" class="bm">满员</a>
                                <a href="{:url('order/order/pre_class',array('course_id'=>$course_id))}" class="bm">预选课</a>

                            </elseif>
                            <else/>
                                <if condition="$vo.signup_start gt time()">
                                    <a href="#" class="bm" data-msg="没有开始报名呢！！">
                                        报名{:date('m-d ',$vo.signup_start)}
                                    </a>
                                    <else/>
                                    <a href="{:url('order/order/order_list',array('class_id'=>$vo.id,'cha_id'=>0,'student_status'=>6))}" class="bm">报名</a>
                                </if>
                        </if>
					</span>
                        </div>
                    </li>
                </elseif>
                <else/>

            </if>
        </foreach>
        <empty name="data">
            <div class="text-center">
                <h3>暂无班级</h3>
            </div>
        </empty>
    </ul>
</div>
<!--内容 -->
<div class="pagination">{$page|default=''}</div>